package com.smedi.ismedi.authoritymanagement.core.port.adapter.persistence.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.smedi.ismedi.database.starter.model.BasicFieldEntity;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: xulinjun
 * @Date: 2021-8-17 11:34
 */
@Data
@TableName(value = "ath_role_permission_detail")
public class RolePermissionDetailEntity extends BasicFieldEntity implements Serializable {
    @TableField(value = "root_code")
    private String rootCode;

    @TableField(value = "role_id")
    private Long roleId;

    @TableField(value = "structure_id")
    private Long structureId;

    @TableField(value = "is_all_children")
    private boolean allChildren;
}
